package com.angle.im.server.domain;

import lombok.Data;

import javax.websocket.Session;
import java.io.Serializable;

/**
 * @Author NieZhiLiang
 * @Email nzlsgg@163.com
 * @Date 2019/3/1 上午9:08
 */
@Data
public class Client implements Serializable {

    private static final long serialVersionUID = 8957107006902627635L;

    private String userId;

    private String platform;

    private Session session;

    public Client(String userId, String platform, Session session) {
        this.userId = userId;
        this.session = session;
        this.platform = platform;
    }

    public Client() {
    }
}
